const fs = require('fs-extra');
const concat = require('concat');
(async function build() {
    const files = [
        './dist/runtime.js',
        './dist/polyfills.js',
        './dist/scripts.js',
        './dist/main.js'
    ]
    await fs.ensureDir('elements')
    await concat(files, 'elements/app-ng-header.js');
    // await fs.copyFile('./dist/training-path-logo.png', 'elements/training-path-logo.png');
    // await fs.copyFile('./dist/styles.css', 'elements/styles.css')
    // await fs.copy('./dist/assets/', 'elements/assets/' )
})()